import service from "@/utils/service";

// 新增评分表列表
// export function banner_list(payload = {}) {
//     return service.get('/admin/banner/list', { params: payload })
//  }
 // 新增评分表列表
 export function banner_add(payload = {}) {
    return service.post('/MIS/caScorecard', payload)
 }
 
// 新增评分等级
export function dengji_add(payload = {}) {
   return service.post('/MIS/caGrade', payload)
} 

// 评分等级首页删除
export function dengji_delete(payload = {}) {
   return service.delete('/MIS/caGrade', { params: payload })
}

 // 评分卡查询
 export function chaxun(payload = {}) {
    return service.get('/MIS/caScorecard', { params: payload })
 }

//  评分列表编辑
export function bianji(payload = {}) {
   return service.put('/MIS/caScorecard', { params: payload })
}


//  列表删除
export function deletelist(payload = {}) {
   return service.delete('/MIS/caScorecard', { params: payload })
}


 // 评分等级查询
 export function banner_dengji(payload = {}) {
   return service.get('/MIS/caGrade', { params: payload })
}